package com.zhang.mapper;

import com.zhang.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * User: 张
 * Date: 2024-11-16
 * Time: 20:36
 * Description:
 */
@Mapper
public interface UserInfoMapper {
    @Select("select a.email from visions_sort.user_info a, visions_sort.authority_record b where b.user_id = a.id and b.modul_id = 1")
    String getAdminUserEmail();
}
